/*
 * @Descripttion: 续租
 * @version: 1.0
 * @Author: 狸猫
 * @Date: 2024-04-30 09:19:11
 * @LastEditors: 狸猫
 * @LastEditTime: 2024-04-30 10:22:36
 */

import request from "@/utils/request";

// 查询续租订单列表
export function reletList(query) {
  return request({
    url: '/enterprise/order/order/apartment/relet/list',
    method: 'get',
    params: query,
  })
}

// 查询退订订单列表
export function cancelList(query) {
  return request({
    url: '/enterprise/order/auditRecord/cancelReservation/list',
    method: 'get',
    params: query,
  })
}

// 获取退订订单审核记录详细信息
export function auditRecordInfo(orderId) {
  return request({
    url: '/enterprise/order/auditRecord/cancelReservation/'+orderId,
    method: 'get',
  })
}

// 取消预订订单审核
export function auditRecord(data) {
  return request({
    url: '/enterprise/order/auditRecord/cancelReservation',
    method: 'put',
    data:data
  })
}

